package vip.zhenzicheng.design_patterns.iterator;

/**
 * 抽象迭代器角色接口
 *
 * @author zhenzicheng
 * @date 2022-05-27 13:37
 */
public interface StudentIterator {

    //判断是否还有元素
    boolean hasNext();

    //获取下一个元素
    Student next();
}
